package com.luoyuanxiangvip.core.entity;

import com.luoyuanxiangvip.core.entity.support.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 分类
 * </p>
 *
 * @author luoyuanxiang <p>luoyuanxiangvip.com</p>
 * @since 2019-05-30
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@ApiModel(value = "BizCategory对象", description = "分类")
public class BizCategory extends BaseEntity {

    private static final long serialVersionUID = 8929586138498877343L;
    @ApiModelProperty(value = "文章类型名")
    private String name;

    @ApiModelProperty(value = "类型介绍")
    private String description;

    @ApiModelProperty(value = "英文名称")
    private String slug;

    @ApiModelProperty(value = "图标")
    private String icon;

    @ApiModelProperty(value = "背景图片")
    private String background;

    @ApiModelProperty(value = "文章数")
    private Long count = 0L;
}
